<%-- 
    Document   : listado_estudiantes_asignatura
    Created on : 27/07/2013, 08:55:14 AM
    Author     : JesseniaJL
--%>


<%@page import="java.util.Iterator"%>
<%@page import="VO.estudiante"%>
<%@page import="java.util.ArrayList"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<jsp:useBean id="Estu" class="DAO.Consulta"/>
<!DOCTYPE html>
<html>
    <head>
        <jsp:include page="includes/head.jsp"></jsp:include>
        <title>Ver Estudiantes | Aplicativo Colegio</title>
        <SCRIPT>

function valid(input) {
    //alert("You have changed the value from 10 to " + input);
    
    window.location.href="ver_estudiantes.jsp?grupo="+input;
    
}

</SCRIPT>
    </head>
    <body>
         <jsp:include page="includes/nav_bar.jsp"></jsp:include>
     
         
         <div class="well well-small">
             <div class="row"><a href="javascript:history.back()"><img src="img/volver.png" class="span1" /></a>
                 <h1 class="span6">Listado de Estudiantes</h1>
             </div>   
         </div>
         <div class="table span10">
            <%
                String id_grupo="0";
                String id_asi="0";
                if(request.getParameter("grupo")!=null){
                    id_grupo=request.getParameter("grupo");
                } 
                if(request.getParameter("asignatura")!=null){
                    id_asi=request.getParameter("asignatura");
                }
                 out.print(Estu.Listar_Estudiantes(id_grupo,id_asi));
            %>
         </div>
     
    </body>
</html>
